The Bible is such a jumble of styles of writing from different eras and diverse cultures -- Egyptian, Babylonian, Canaanite, Phoenician, Persian, Greek and Roman to be precise. The Psalm here quoted only makes sense as a panegyric; a praise of God and the subsequent benefits of being his subjects. It's all poetry folks, it does not have to be true, just a religious meme to give fuzzy comfort to the believers by reprising cultural themes.
If it was from the creator, if there were such a thing, he would know his heavens were not perched just above the Earth subject to removal or falling as another scripture says (Rev 6:13) then he or it would then not use this illustration. However the Bible is all too human and reflects merely the hopes, beliefs and limited astronomical perceptions of the writers.